package com.xcj.juhe.mapper.test1;

import com.xcj.juhe.dto.RoleDataDto;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author xcj
 * @date 2021/12/29 18:01
 */
@Repository
public interface UserDataMapper {

    public RoleDataDto findRoleDataByUserId(@Param("channelId") String channelId,
                                            @Param("userId") String userId,
                                            @Param("serverId") String serverId,
                                            @Param("roleId") String roleId);

    public int updateUserDateCTimeByCidAndUidAndSidAndRid(@Param("time") String time,
                                                          @Param("channelId") String channelId,
                                                          @Param("userId") String userId,
                                                          @Param("serverId") String serverId,
                                                          @Param("roleId") String roleId);

}
